using System;

namespace Bing
{
    /// <summary>
    /// Contains properties related to an advertisement returned for a request to the Ad SourceType.
    /// </summary>
    public class AdResult   
    {
        /// <summary>
        /// Gets or sets the target URL for this advertisement.
        /// </summary>
        /// <value>Target URL for this advertisement.</value>
        public string AdlinkURL { get; set; }

        /// <summary>
        /// Gets or sets the order, with respect to other results, in which an ad is returned.
        /// </summary>
        /// <value>Indicates the order, with respect to other results, in which an ad is returned.</value>
        public UInt32 Rank { get; set; }

        /// <summary>
        /// Gets or sets the position of the advertisement on the page..
        /// </summary>
        /// <value>Position of the advertisement on the page.</value>
        public string Position { get; set; }

        /// <summary>
        /// Gets or sets the title of the advertisement..
        /// </summary>
        /// <value>Title of the advertisement.</value>
        public string Title { get; set; }

        /// <summary>
        /// Gets or sets the description for this advertisement..
        /// </summary>
        /// <value>Description for this advertisement.</value>
        public string Description { get; set; }

        /// <summary>
        /// Gets or sets the URL string to display to the user.
        /// </summary>
        /// <value>The URL string to display to the user.</value>
        public string DisplayURL { get; set; }


    }
}